<header class="navbar">
  <a href="/home">
    <span class="site-name">Lin的博客</span>
  </a>
  <div class="links">
    <div class="search-box">
      <input aria-label="Search" autocomplete="off" spellcheck="false" value="" class="" placeholder="">
    </div>
    <nav class="nav-links can-hide">
      <div class="nav-item">
        <a href="/home" class="nav-link">
          主页
        </a>
      </div>
      <div class="nav-item">
        <a href="/about/" class="nav-link">
          关于我
        </a>
      </div>
      <% links.forEach(function(link){ %>
        <div class="nav-item">
          <a href="<%=link.path%>" target="_blank" rel="noopener noreferrer" class="nav-link external">
            <%=link.name%>
            <span>
              <%- include('icon', {icon: 'icon-outgoing'}); %>
            </span>
          </a>
        </div>
      <% }); %>
    </nav>
  </div>
</header>